// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import store from './store';
import 'element-ui/lib/theme-chalk/index.css';


import myHeader from '@/components/myHeader.vue';
import myLoading from '@/components/myLoading.vue'


Vue.config.productionTip = false
Vue.use(ElementUI,{size: 'small', zIndex: 3000 });

// css
import '@/assets/css/reset.css'
import '@/assets/css/icon.css'
import '@/assets/css/transition.css'
import '@/assets/css/global.css'

//全局注册组件
Vue.component('my-header',myHeader);
Vue.component('my-loading',myLoading);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
